//
//  TodoViewController.h
//  todo
//
//  Created by Brandon Trebitowski on 9/6/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//
//  Edited by Lily 11/19/09

#import <UIKit/UIKit.h>
#import "Todo.h"

@interface TodoViewController : UIViewController <UIActionSheetDelegate> {
	IBOutlet UITextField        *todoText;
	IBOutlet UITextField		*todoBeginDT;
	IBOutlet UITextField		*todoEndDT;
	IBOutlet UITextField		*todoSummary;
	NSInteger setTextField;
	Todo						*todo;
}

@property(nonatomic,retain) IBOutlet UITextField        *todoText;
@property(nonatomic,retain) IBOutlet UITextField        *todoBeginDT;
@property(nonatomic,retain) IBOutlet UITextField        *todoEndDT;
@property(nonatomic,retain) IBOutlet UITextField        *todoSummary;
@property(nonatomic,retain) Todo						*todo;
- (IBAction) updateText:(id) sender;
- (IBAction) updateSummary:(id) sender;
- (IBAction) action: (id) sender;
- (BOOL)correctDate;
@end
